package com.example.demozy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 商品审核类
 * @author 张展鹏，陆智荣（排名分先后）
 */
public class CommodityCheck {

    private int checkId;
    private String conditionSheetId;
    private String commodityName;
    private int onState;
    private String commodityDescription;
    private double commodityPrice;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date commodityUploadTime;
    private String authorId;

    // **************** 继承方法

    // **************** 公开方法

    public int getCheckId() {
        return checkId;
    }

    public void setCheckId(int checkId) {
        this.checkId = checkId;
    }

    public String getConditionSheetId() {
        return conditionSheetId;
    }

    public void setConditionSheetId(String conditionSheetId) {
        this.conditionSheetId = conditionSheetId;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public int getOnState() {
        return onState;
    }

    public void setOnState(int onState) {
        this.onState = onState;
    }

    public String getCommodityDescription() {
        return commodityDescription;
    }

    public void setCommodityDescription(String commodityDescription) {
        this.commodityDescription = commodityDescription;
    }

    public double getCommodityPrice() {
        return commodityPrice;
    }

    public void setCommodityPrice(double commodityPrice) {
        this.commodityPrice = commodityPrice;
    }

    public Date getCommodityUploadTime() {
        return commodityUploadTime;
    }

    public void setCommodityUploadTime(Date commodityUploadTime) {
        this.commodityUploadTime = commodityUploadTime;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }
}
